using AjeeleeCms.Web.Plugin.Link.DAL;
using AjeeleeCms.Web.Plugin.Link.Model;
using System;
using System.Data;
namespace AjeeleeCms.Web.Plugin.Link.BLL
{
	public class link
	{
		private readonly AjeeleeCms.Web.Plugin.Link.DAL.link dal = new AjeeleeCms.Web.Plugin.Link.DAL.link();
		public bool Exists(int id)
		{
			return this.dal.Exists(id);
		}
		public int Add(AjeeleeCms.Web.Plugin.Link.Model.link model)
		{
			return this.dal.Add(model);
		}
		public void UpdateField(int id, string strValue)
		{
			this.dal.UpdateField(id, strValue);
		}
		public bool Update(AjeeleeCms.Web.Plugin.Link.Model.link model)
		{
			return this.dal.Update(model);
		}
		public bool Delete(int id)
		{
			return this.dal.Delete(id);
		}
		public AjeeleeCms.Web.Plugin.Link.Model.link GetModel(int id)
		{
			return this.dal.GetModel(id);
		}
		public DataSet GetList(string strWhere)
		{
			return this.dal.GetList(strWhere);
		}
		public DataSet GetList(int Top, string strWhere)
		{
			return this.dal.GetList(Top, strWhere);
		}
		public DataSet GetList(int pageSize, int pageIndex, string strWhere, string filedOrder, out int recordCount)
		{
			return this.dal.GetList(pageSize, pageIndex, strWhere, filedOrder, out recordCount);
		}
	}
}
